<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>lua-nbt: nbt_dummy.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">lua-nbt
   </div>
   <div id="projectbrief">Named Binary Tag library for Lua</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">nbt_dummy.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="nbt__dummy_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * nbt_dummy.h</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Documentation header file.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> **/</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="namespacenbt.html">    9</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacenbt.html">nbt</a></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;{</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">   13</a></span>&#160;<span class="keyword">typedef</span> int64_t <a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="namespacenbt.html#a1ec0d30c4bfec8a96b422179b9c1640c">   15</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="namespacenbt.html#a1ec0d30c4bfec8a96b422179b9c1640c">number</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespacenbt.html#ace7731cf44f1f0d059794e786f2d42b8">   17</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span> *<a class="code" href="namespacenbt.html#ace7731cf44f1f0d059794e786f2d42b8">string</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">   19</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">void</span> *<a class="code" href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">table</a>;</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespacenbt.html#a19905ad50c82e72526db0057144f6470">   21</a></span>&#160;<span class="keyword">typedef</span> ptrdiff_t <a class="code" href="namespacenbt.html#a19905ad50c82e72526db0057144f6470">any</a>;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0">   24</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0">TagType</a> {</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ac2c5d6760fef556f9c396225750075c8">   26</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ac2c5d6760fef556f9c396225750075c8">TAG_END</a>,</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a190f7f37f387f7215246055e5fbd656f">   28</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a190f7f37f387f7215246055e5fbd656f">TAG_BYTE</a>,</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0abe4ee5e13fc7f3f35ba3c2d544b9fa8d">   30</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0abe4ee5e13fc7f3f35ba3c2d544b9fa8d">TAG_SHORT</a>,</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a367f9352d0b2e8621bda49127318e086">   32</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a367f9352d0b2e8621bda49127318e086">TAG_INT</a>,</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ada95f5b19bd2e9e17160cc9a1477b7d8">   34</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ada95f5b19bd2e9e17160cc9a1477b7d8">TAG_LONG</a>,</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a81548f1cdd75d6a5500533ac73773018">   36</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a81548f1cdd75d6a5500533ac73773018">TAG_FLOAT</a>,</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af3cb3a0b381059ae88ecc0139dd986d5">   38</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af3cb3a0b381059ae88ecc0139dd986d5">TAG_DOUBLE</a>,</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af86224107e7c82312447a2c56fb05a6f">   40</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af86224107e7c82312447a2c56fb05a6f">TAG_BYTE_ARRAY</a>,</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a655593edca89bc6ed0a2ac5fc33c50c0">   42</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a655593edca89bc6ed0a2ac5fc33c50c0">TAG_STRING</a>,</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af97f4039d10b5baa39af2a666ff05486">   44</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af97f4039d10b5baa39af2a666ff05486">TAG_LIST</a>,</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ac3b2486402281a430d49b1a459196c00">   46</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ac3b2486402281a430d49b1a459196c00">TAG_COMPOUND</a>,</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ad9e8097789fbbb0864f7ab962adc407d">   48</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ad9e8097789fbbb0864f7ab962adc407d">TAG_INT_ARRAY</a>,</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a11f095453a5c229c777a885eb4d11f88">   50</a></span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a11f095453a5c229c777a885eb4d11f88">TAG_LONG_ARRAY</a></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;} <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0">TagType</a>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171ec">   54</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171ec">PreserveMode</a></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca4b898e1ce4746a37e51dc1d11ae55af1">   57</a></span>&#160;    <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca4b898e1ce4746a37e51dc1d11ae55af1">tag</a>,</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca70d03a65aaeba76abaa9054bb2080ac5">   59</a></span>&#160;    <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca70d03a65aaeba76abaa9054bb2080ac5">plain</a></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;} <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171ec">PreserveMode</a>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classnbt_1_1_tag.html">   63</a></span>&#160;<span class="keyword">class </span><a class="code" href="classnbt_1_1_tag.html">Tag</a></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0">TagType</a> <a class="code" href="classnbt_1_1_tag.html#a9f9a048f75558e9e6d88bd92dad74a35">getTypeID</a>();</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">string</span> <a class="code" href="classnbt_1_1_tag.html#a38e33c5dd9913c7c826e10177812fa96">getName</a>();</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordtype">string</span> <a class="code" href="classnbt_1_1_tag.html#a367dd11e687116333ca8aab5e00cccef">getString</a>();</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <a class="code" href="namespacenbt.html#a1ec0d30c4bfec8a96b422179b9c1640c">number</a> <a class="code" href="classnbt_1_1_tag.html#a969ed5b637c5d9581ab5c62973917ceb">getNumber</a>();</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> <a class="code" href="classnbt_1_1_tag.html#a8027c23e9d7982befcf60cea2da2b4b1">getInteger</a>();</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="namespacenbt.html#a19905ad50c82e72526db0057144f6470">any</a> <a class="code" href="classnbt_1_1_tag.html#a38e3a675996f364912826fbdba2e6dec">getValue</a>();</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="classnbt_1_1_tag.html">Tag</a> *<a class="code" href="classnbt_1_1_tag.html#ab16f43cc0ee9c696827727391d79161a">copy</a>(<span class="keywordtype">bool</span> shallow = <span class="keyword">false</span>);</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordtype">string</span> <a class="code" href="classnbt_1_1_tag.html#a59f0f71fae6e71384c4de2300481b9a7">encode</a>(<span class="keywordtype">bool</span> noprefix = <span class="keyword">false</span>);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keyword">operator</span> <a class="code" href="namespacenbt.html#ace7731cf44f1f0d059794e786f2d42b8">string</a>();</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <a class="code" href="classnbt_1_1_tag.html">Tag</a>(<a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> type, <a class="code" href="namespacenbt.html#a19905ad50c82e72526db0057144f6470">any</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> _type;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordtype">string</span> _name;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <a class="code" href="namespacenbt.html#a19905ad50c82e72526db0057144f6470">any</a> _value;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;};</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="namespacenbt.html#aaaadd16998c778e2f199982f78a7cdfc">  132</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="namespacenbt.html#ace7731cf44f1f0d059794e786f2d42b8">string</a>(*<a class="code" href="namespacenbt.html#aaaadd16998c778e2f199982f78a7cdfc">inputReader</a>)(<a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> minread);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a2d0688c4f34e81f1a92e7f34606812b4">newByte</a>(<a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#ac1b3c26b692676be463163af7d14a12d">newShort</a>(<a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a8a9207104ad78f5e0e6913af5ba7ace8">newInt</a>(<a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#abf036100365ed424f8e699ca2e96a008">newLong</a>(<a class="code" href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">integer</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#aa3da631c31cbc6f5e23ce07a4cf7a692">newFloat</a>(<a class="code" href="namespacenbt.html#a1ec0d30c4bfec8a96b422179b9c1640c">number</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#adfcd33113345462b4bf460b2f036044c">newDouble</a>(<a class="code" href="namespacenbt.html#a1ec0d30c4bfec8a96b422179b9c1640c">number</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a632231a596f2297ab97a6d945683d41f">newByteArray</a>(<a class="code" href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">table</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a9129cea2c8fd16c1818cd4a22d5e4df6">newString</a>(<span class="keywordtype">string</span> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a1ff381e9fea7390b315e64fd5e677690">newList</a>(<a class="code" href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0">TagType</a> typeID, <a class="code" href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">table</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a48aa5ecaea6688662019242d156aa4c9">newCompound</a>(<a class="code" href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">table</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#acd46fcce4a1db7e58f45c8d1ea9575c1">newIntArray</a>(<a class="code" href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">table</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#aa3f9a30f4384530243111d880604eb46">newLongArray</a>(<a class="code" href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">table</a> value, <span class="keywordtype">string</span> name = <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a2d90369d511b77a9b30f137cc9f34eda">decode</a>(<span class="keywordtype">string</span> input, <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171ec">PreserveMode</a> preservemode = <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca4b898e1ce4746a37e51dc1d11ae55af1">PreserveMode::tag</a>);</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<a class="code" href="classnbt_1_1_tag.html">Tag</a> <a class="code" href="namespacenbt.html#a2d90369d511b77a9b30f137cc9f34eda">decode</a>(<a class="code" href="namespacenbt.html#aaaadd16998c778e2f199982f78a7cdfc">inputReader</a> reader, <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171ec">PreserveMode</a> preservemode = <a class="code" href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca4b898e1ce4746a37e51dc1d11ae55af1">PreserveMode::tag</a>);</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;}</div><div class="ttc" id="namespacenbt_html_a19905ad50c82e72526db0057144f6470"><div class="ttname"><a href="namespacenbt.html#a19905ad50c82e72526db0057144f6470">nbt::any</a></div><div class="ttdeci">ptrdiff_t any</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:21</div></div>
<div class="ttc" id="namespacenbt_html_a2d0688c4f34e81f1a92e7f34606812b4"><div class="ttname"><a href="namespacenbt.html#a2d0688c4f34e81f1a92e7f34606812b4">nbt::newByte</a></div><div class="ttdeci">Tag newByte(integer value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0ac2c5d6760fef556f9c396225750075c8"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ac2c5d6760fef556f9c396225750075c8">nbt::TAG_END</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:26</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_a367dd11e687116333ca8aab5e00cccef"><div class="ttname"><a href="classnbt_1_1_tag.html#a367dd11e687116333ca8aab5e00cccef">nbt::Tag::getString</a></div><div class="ttdeci">string getString()</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0ad9e8097789fbbb0864f7ab962adc407d"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ad9e8097789fbbb0864f7ab962adc407d">nbt::TAG_INT_ARRAY</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:48</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0af86224107e7c82312447a2c56fb05a6f"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af86224107e7c82312447a2c56fb05a6f">nbt::TAG_BYTE_ARRAY</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:40</div></div>
<div class="ttc" id="namespacenbt_html_a632231a596f2297ab97a6d945683d41f"><div class="ttname"><a href="namespacenbt.html#a632231a596f2297ab97a6d945683d41f">nbt::newByteArray</a></div><div class="ttdeci">Tag newByteArray(table value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="namespacenbt_html_aa3f9a30f4384530243111d880604eb46"><div class="ttname"><a href="namespacenbt.html#aa3f9a30f4384530243111d880604eb46">nbt::newLongArray</a></div><div class="ttdeci">Tag newLongArray(table value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0">nbt::TagType</a></div><div class="ttdeci">TagType</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:24</div></div>
<div class="ttc" id="namespacenbt_html_a1ff381e9fea7390b315e64fd5e677690"><div class="ttname"><a href="namespacenbt.html#a1ff381e9fea7390b315e64fd5e677690">nbt::newList</a></div><div class="ttdeci">Tag newList(TagType typeID, table value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="namespacenbt_html_a2f6f02afeb450fede6255f602157bb2a"><div class="ttname"><a href="namespacenbt.html#a2f6f02afeb450fede6255f602157bb2a">nbt::table</a></div><div class="ttdeci">void * table</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:19</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0a11f095453a5c229c777a885eb4d11f88"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a11f095453a5c229c777a885eb4d11f88">nbt::TAG_LONG_ARRAY</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:50</div></div>
<div class="ttc" id="namespacenbt_html_a092035b9920a343f97622e7a5a6171ec"><div class="ttname"><a href="namespacenbt.html#a092035b9920a343f97622e7a5a6171ec">nbt::PreserveMode</a></div><div class="ttdeci">PreserveMode</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:54</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0a655593edca89bc6ed0a2ac5fc33c50c0"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a655593edca89bc6ed0a2ac5fc33c50c0">nbt::TAG_STRING</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:42</div></div>
<div class="ttc" id="namespacenbt_html_aaaadd16998c778e2f199982f78a7cdfc"><div class="ttname"><a href="namespacenbt.html#aaaadd16998c778e2f199982f78a7cdfc">nbt::inputReader</a></div><div class="ttdeci">string(* inputReader)(integer minread)</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:132</div></div>
<div class="ttc" id="classnbt_1_1_tag_html"><div class="ttname"><a href="classnbt_1_1_tag.html">nbt::Tag</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:63</div></div>
<div class="ttc" id="namespacenbt_html_aa3da631c31cbc6f5e23ce07a4cf7a692"><div class="ttname"><a href="namespacenbt.html#aa3da631c31cbc6f5e23ce07a4cf7a692">nbt::newFloat</a></div><div class="ttdeci">Tag newFloat(number value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="namespacenbt_html_a092035b9920a343f97622e7a5a6171eca4b898e1ce4746a37e51dc1d11ae55af1"><div class="ttname"><a href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca4b898e1ce4746a37e51dc1d11ae55af1">nbt::tag</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:57</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0af97f4039d10b5baa39af2a666ff05486"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af97f4039d10b5baa39af2a666ff05486">nbt::TAG_LIST</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:44</div></div>
<div class="ttc" id="namespacenbt_html_a2d90369d511b77a9b30f137cc9f34eda"><div class="ttname"><a href="namespacenbt.html#a2d90369d511b77a9b30f137cc9f34eda">nbt::decode</a></div><div class="ttdeci">Tag decode(string input, PreserveMode preservemode=PreserveMode::tag)</div></div>
<div class="ttc" id="namespacenbt_html_ace7731cf44f1f0d059794e786f2d42b8"><div class="ttname"><a href="namespacenbt.html#ace7731cf44f1f0d059794e786f2d42b8">nbt::string</a></div><div class="ttdeci">char * string</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:17</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0abe4ee5e13fc7f3f35ba3c2d544b9fa8d"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0abe4ee5e13fc7f3f35ba3c2d544b9fa8d">nbt::TAG_SHORT</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:30</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0ac3b2486402281a430d49b1a459196c00"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ac3b2486402281a430d49b1a459196c00">nbt::TAG_COMPOUND</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:46</div></div>
<div class="ttc" id="namespacenbt_html_a1ec0d30c4bfec8a96b422179b9c1640c"><div class="ttname"><a href="namespacenbt.html#a1ec0d30c4bfec8a96b422179b9c1640c">nbt::number</a></div><div class="ttdeci">double number</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:15</div></div>
<div class="ttc" id="namespacenbt_html_a8a9207104ad78f5e0e6913af5ba7ace8"><div class="ttname"><a href="namespacenbt.html#a8a9207104ad78f5e0e6913af5ba7ace8">nbt::newInt</a></div><div class="ttdeci">Tag newInt(integer value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_a38e33c5dd9913c7c826e10177812fa96"><div class="ttname"><a href="classnbt_1_1_tag.html#a38e33c5dd9913c7c826e10177812fa96">nbt::Tag::getName</a></div><div class="ttdeci">string getName()</div></div>
<div class="ttc" id="namespacenbt_html_a9129cea2c8fd16c1818cd4a22d5e4df6"><div class="ttname"><a href="namespacenbt.html#a9129cea2c8fd16c1818cd4a22d5e4df6">nbt::newString</a></div><div class="ttdeci">Tag newString(string value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_a59f0f71fae6e71384c4de2300481b9a7"><div class="ttname"><a href="classnbt_1_1_tag.html#a59f0f71fae6e71384c4de2300481b9a7">nbt::Tag::encode</a></div><div class="ttdeci">string encode(bool noprefix=false)</div></div>
<div class="ttc" id="namespacenbt_html_a092035b9920a343f97622e7a5a6171eca70d03a65aaeba76abaa9054bb2080ac5"><div class="ttname"><a href="namespacenbt.html#a092035b9920a343f97622e7a5a6171eca70d03a65aaeba76abaa9054bb2080ac5">nbt::plain</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:59</div></div>
<div class="ttc" id="namespacenbt_html_adfcd33113345462b4bf460b2f036044c"><div class="ttname"><a href="namespacenbt.html#adfcd33113345462b4bf460b2f036044c">nbt::newDouble</a></div><div class="ttdeci">Tag newDouble(number value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_a8027c23e9d7982befcf60cea2da2b4b1"><div class="ttname"><a href="classnbt_1_1_tag.html#a8027c23e9d7982befcf60cea2da2b4b1">nbt::Tag::getInteger</a></div><div class="ttdeci">integer getInteger()</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0af3cb3a0b381059ae88ecc0139dd986d5"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0af3cb3a0b381059ae88ecc0139dd986d5">nbt::TAG_DOUBLE</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:38</div></div>
<div class="ttc" id="namespacenbt_html_ac1b3c26b692676be463163af7d14a12d"><div class="ttname"><a href="namespacenbt.html#ac1b3c26b692676be463163af7d14a12d">nbt::newShort</a></div><div class="ttdeci">Tag newShort(integer value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0a367f9352d0b2e8621bda49127318e086"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a367f9352d0b2e8621bda49127318e086">nbt::TAG_INT</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:32</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0a81548f1cdd75d6a5500533ac73773018"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a81548f1cdd75d6a5500533ac73773018">nbt::TAG_FLOAT</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:36</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_ab16f43cc0ee9c696827727391d79161a"><div class="ttname"><a href="classnbt_1_1_tag.html#ab16f43cc0ee9c696827727391d79161a">nbt::Tag::copy</a></div><div class="ttdeci">Tag * copy(bool shallow=false)</div></div>
<div class="ttc" id="namespacenbt_html_abf036100365ed424f8e699ca2e96a008"><div class="ttname"><a href="namespacenbt.html#abf036100365ed424f8e699ca2e96a008">nbt::newLong</a></div><div class="ttdeci">Tag newLong(integer value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="namespacenbt_html_a48aa5ecaea6688662019242d156aa4c9"><div class="ttname"><a href="namespacenbt.html#a48aa5ecaea6688662019242d156aa4c9">nbt::newCompound</a></div><div class="ttdeci">Tag newCompound(table value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_a969ed5b637c5d9581ab5c62973917ceb"><div class="ttname"><a href="classnbt_1_1_tag.html#a969ed5b637c5d9581ab5c62973917ceb">nbt::Tag::getNumber</a></div><div class="ttdeci">number getNumber()</div></div>
<div class="ttc" id="namespacenbt_html"><div class="ttname"><a href="namespacenbt.html">nbt</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:9</div></div>
<div class="ttc" id="namespacenbt_html_acd46fcce4a1db7e58f45c8d1ea9575c1"><div class="ttname"><a href="namespacenbt.html#acd46fcce4a1db7e58f45c8d1ea9575c1">nbt::newIntArray</a></div><div class="ttdeci">Tag newIntArray(table value, string name=&quot;&quot;)</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_a9f9a048f75558e9e6d88bd92dad74a35"><div class="ttname"><a href="classnbt_1_1_tag.html#a9f9a048f75558e9e6d88bd92dad74a35">nbt::Tag::getTypeID</a></div><div class="ttdeci">TagType getTypeID()</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0a190f7f37f387f7215246055e5fbd656f"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0a190f7f37f387f7215246055e5fbd656f">nbt::TAG_BYTE</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:28</div></div>
<div class="ttc" id="namespacenbt_html_af736ee28323266257ce0e5d56e2669e0ada95f5b19bd2e9e17160cc9a1477b7d8"><div class="ttname"><a href="namespacenbt.html#af736ee28323266257ce0e5d56e2669e0ada95f5b19bd2e9e17160cc9a1477b7d8">nbt::TAG_LONG</a></div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:34</div></div>
<div class="ttc" id="classnbt_1_1_tag_html_a38e3a675996f364912826fbdba2e6dec"><div class="ttname"><a href="classnbt_1_1_tag.html#a38e3a675996f364912826fbdba2e6dec">nbt::Tag::getValue</a></div><div class="ttdeci">any getValue()</div></div>
<div class="ttc" id="namespacenbt_html_ac96039b5f6f53c3e5f64be0807d772f2"><div class="ttname"><a href="namespacenbt.html#ac96039b5f6f53c3e5f64be0807d772f2">nbt::integer</a></div><div class="ttdeci">int64_t integer</div><div class="ttdef"><b>Definition:</b> nbt_dummy.h:13</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
